package com.woniuxy.three.pms.bean;

import java.lang.annotation.Native;

import javax.validation.constraints.Pattern;

import org.hibernate.validator.constraints.NotBlank;

public class GuestBean {
    @Override
	public String toString() {
		return "GuestBean [id=" + id + ", idCard=" + idCard + ", name=" + name + ", gender=" + gender + ", status="
				+ status + "]";
	}

	private Integer id;
@Pattern(regexp = "^[1-9]\\d{5}(18|19|([23]\\d))\\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\\d{3}[0-9Xx]$",message = "{请输入正确的身份证号码}")
    private String idCard;
@NotBlank(message = "{姓名不能为空}")	
    private String name;
@NotBlank(message = "{性别不能为空}")	
    private String gender;
    private String status;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard == null ? null : idCard.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender == null ? null : gender.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }
}